﻿using MediatR;
using RBAC_Class.ErrorCode;
using RBAC_Class.Read.API.Dto;

namespace RBAC_Class.Read.API.Application.Command.Roles
{
    public class RoleQueryCommand:IRequest<APIResult<APIPaging<List<RoleDto>>>>
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string? RoleName { get; set; }=null;
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; }
    }
}
